import java.util.Scanner;

public class Demo {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String s1 = in.nextLine();
        String s2 = in.nextLine();
        StringBuffer str1 = new StringBuffer(s1);
        StringBuffer str2 = new StringBuffer(s2);
        str1.insert(1,str2);
    }
}
